import request from '@/utils/request'


export default{
 /**
  *  获取验证码
  */
   getCaptcha() {
  return request({
    url: '/index/captcha', 
    method: 'get'
  })  
},

login(data) {
  return request({
    url: `/index/login`,
    method: 'post',
    data
  })
},
}
